using System;
using System.Collections;
using System.Text;
using Chat.metier;
using Iesi.Collections;

namespace Chat.remoting
{
        public interface IProtocole
        {
            WrapUser Login(string login, string password);
            bool Register(String login, String passwd, String name, String email);
            void setActive(string guid);
            void sendMessage(int  u1, int u2, string message);
            IList getMessage(int idUser);
            bool addContact(int id, string login);
            User getUser(int id);
            User getUser(string nickname);
            bool deleteUser(int idUser, int idContact);
            IList getNewContacts(int id);
        }
}
